#ifndef _TEXT_H_
	#define _TEXT_H_

#include <SDL/SDL_ttf.h>
#include <string>
#include "Surface.h"

//Class for writing in text for in game menus
class Text {
    public:

//Creates a pointer to a font object
        TTF_Font *font;

//Creates a pointer to the font's image
        SDL_Surface *imgTxt;

//Creates the text's font color
        SDL_Color fColor;

//No argument text constructor
        Text();

//These three overloaded OnRender funcitons draw the text to the screen
//The first draws the text with a certain font at the specified x,y coordinates
//The second adds the option for text color
//The third adds the option for text background color
        void OnRender(SDL_Surface* Surf_Display, TTF_Font* Surf_Font, int x, int y, char* message);
        void OnRender(SDL_Surface* Surf_Display, TTF_Font* Surf_Font, int x, int y, char* message, SDL_Color txtColor);
        void OnRender(SDL_Surface* Surf_Display, TTF_Font* Surf_Font, int x, int y, char* message, SDL_Color txtColor, SDL_Color backColor);

//Loads the file that contains the text and sets its size
        TTF_Font* OnLoad(char* file, int ptSize);

};
#endif
